package com.superm.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 商品库存
 */

@Builder
@NoArgsConstructor
@AllArgsConstructor
@Data
public class Stock {
    private Integer stockId;//商品库存id
    private Integer stockCount;//商品库存
    private Integer capacity;////商品所占容量
    private Integer goodsid;//商品id
    private String goodsName;//商品名称
    private Integer brandId;//商品品牌id
    private String brandName;//品牌名称
    private double goodsPrice;//商品价格
    private String goodsImg;//商品图片
    private Integer storgageRackId; //商品所在货架id
    private String storgageRackName;//所在货架名
    private String specifiCations;//商品单位
    private Integer reponseTypePid;//仓库id
    private String goodsState;//商品的状态
    private Integer reponseid;//数据库仓库id
    private Integer supplierid;//数据库品牌商id
    private String  reponseTypeName;//仓库名
    private String SupplierName;
    private Integer stockwarnCount;
    private String name;
    private Integer value;
    private  Double purchasePrice; //采购价格
    public Stock(Integer stockId) {
        this.stockId = stockId;
    }
}

